package com.raising.modules.front.open.controller;

import com.raising.framework.controller.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * 应用模块
 * @author GaoYuan
 * @datetime 2017/12/14 下午3:29
 */
@Controller
@RequestMapping(value = "${accountPath}")
public class OpenApplicationController extends BaseController{

    /** 跳转 应用中心，列表展示应用 */
    @RequestMapping(value = "/applications", method = RequestMethod.GET)
    public String applications(Model model) throws Exception {
        return "front/open/applications";
    }
    /** 获取 应用列表数据 json post */

    /** 创建 应用数据 json post */

    /** 跳转 应用详情（应用信息） */
    @RequestMapping(value = "/application", method = RequestMethod.GET)
    public String application(Model model,String appId) throws Exception {
        return "front/open/application";
    }

    /** 获取 应用详情（应用信息）包含公钥、私钥 */

    /** 删除 应用详情（应用信息）json post */

    /** 编辑 应用详情（应用信息）json post */




}
